/*
 * @LastEditTime: 2023-02-20 16:32:16
 */
import { Mongoose } from "../DB/index";

const MusicSchema = new Mongoose.Schema({
    //歌曲唯一标识
    _id: String,
    // 歌曲名称
    name: String,
    // 演唱者
    singer: [Object],
    //歌词唯一标识
    lyricsId: String,
    //所属专辑唯一标识
    album: Object,
    //封面
    cover: String,
    //播放地址
    link: String,
    //时长
    time: String,

}, { timestamps: true });

export const Music = Mongoose.model("music", MusicSchema);


